INFOWARELAB_SYSTEM = $(shell uname -s)
INFOWARELAB_RELEASE = $(shell uname -r)

ifeq ($(INFOWARELAB_SYSTEM), SunOS)
  INFOWARELAB_SOLARIS ?= 0
else 
  ifeq ($(INFOWARELAB_SYSTEM), Linux)
    INFOWARELAB_LINUX = 1
  endif
endif

ifdef INFOWARELAB_LINUX
  ifneq ($(findstring 2.6.,$(INFOWARELAB_RELEASE)),)
    INFOWARELAB_HAVE_EPOLL = 1
  endif
endif

